/**************************************************************************************************
* Copyright (C)   Beijing UCAS Space Technology Co.,Ltd. All Rights Reserved

* FILENAME:       delay.c
* Description:   Creat delay function;	UINT:(ms)
*
* Function list: void delay_ms(uint32_t ms)
*
* Author:         xu.cheng
* Version:        V1.0
* Data:           2014/10/23
* History:
**************************************************************************************************/

#include "stm32f10x.h"
#include "delay.h"

void delay_ms(uint32_t ms)
{
    int i;
    int j;

    for(i = 0; i < ms; i++)
    {
        for(j = 0; j < 8040; j++)
        {
            //delay n ms
        }
    }
}

